home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
PPC1B3AA.ZIP
/
DEBUG.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1996-07-28
|
771b
|
106 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
String STRING001
String STRING002
String STRING003
Word WORD001
Word WORD002
;------------------------------------------------------------------------------
STRING001 = TokenStr()
Tokenize STRING001
GetToken STRING001
If (InStr(STRING001, ".") <> 0) STRING001 = Mid(STRING001, 1, InStr(STRING001, ".") - 1)
STRING002 = STRING001 + ".PPE"
STRING003 = STRING001 + ".SYM"
If (!Exist(STRING002)) STRING002 = PPEPath() + STRING002
If (Exist(STRING002)) PrintLn ".PPE not found!"
Wait
End
If (!Exist(STRING003)) STRING003 = PPEPath() + STRING003
If (!Exist(STRING003)) PrintLn ".SYM not found!"
Wait
End
VarSeg STRING003, WORD001
VarOff STRING003, WORD002
DoIntr 241, 43962, 0, 1, WORD002, 0, 0, 512, WORD001, 0
Call STRING002
DoIntr 241, 47787, 0, 0, 0, 0, 0, 0, 0, 0
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 2 Wait
; 6 Let
; 2 PrintLn
; 5 If
; 1 Tokenize
; 1 GetToken
; 1 Call
; 2 DoIntr
; 1 VarSeg
; 1 VarOff
;
;
; ■ Functions used :
;
; 4 +
; 1 -
; 1 <>
; 3 !
; 1 Mid()
; 2 InStr()
; 2 PPEPath()
; 4 Exist()
; 1 TokenStr()
;
;------------------------------------------------------------------------------
;
; Analysis flags : CI
;
; C - Call child PPE ■ 3
; This is usually normal, but may be a tricky way to launch some
; sysop-only commands.
; ■ Search for : CALL
;
; I - Interrupt call ■ 5
; This is rare in PPE... Although it may be a way to replace a PPE
; command by its fast interrupt equivalent. Be aware that an
; interrupt call may do anything... nasty (formating HD, rebooting,...)
; or usefull (fast screen i/o, hardware ressource access,...). Check!
; ■ Search for : DOINTR
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 0 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------